import yaml

from ui_framework_demo.common.getfiledir import EMAILDATASDIR


class GetEmailDatas:

    @classmethod
    def get_email(self):
        with open(EMAILDATASDIR, "r", encoding="utf-8") as f:
            self.datas =yaml.safe_load(f)
        return self.datas['email']


